<!-- HTML header for doxygen 1.8.18-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Ipopt: src/LinAlg/IpDiagMatrix.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js"></script>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 40px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Ipopt Documentation
   &#160;<!--span id="projectnumber">3.14.12</span-->
   </div>
  </td>
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('IpDiagMatrix_8hpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">IpDiagMatrix.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="IpDiagMatrix_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// Copyright (C) 2004, 2008 International Business Machines and others.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// All Rights Reserved.</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// This code is published under the Eclipse Public License.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">// Authors:  Carl Laird, Andreas Waechter     IBM    2004-08-13</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160; </div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#ifndef __IPDIAGMATRIX_HPP__</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#define __IPDIAGMATRIX_HPP__</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="IpUtils_8hpp.html">IpUtils.hpp</a>&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="IpSymMatrix_8hpp.html">IpSymMatrix.hpp</a>&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160; </div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceIpopt.html">Ipopt</a></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;{</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; </div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classIpopt_1_1DiagMatrix.html">   20</a></span>&#160;<span class="keyword">class </span><a class="code" href="config__default_8h.html#a58bb5c104ee5ff44b7175fc992d89b0b">IPOPTLIB_EXPORT</a> <a class="code" href="classIpopt_1_1DiagMatrix.html">DiagMatrix</a>: <span class="keyword">public</span> <a class="code" href="classIpopt_1_1SymMatrix.html">SymMatrix</a></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;{</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160; </div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classIpopt_1_1DiagMatrix.html#a3a81f36e9edf8000486f544bfe7211ad">   27</a></span>&#160;   <a class="code" href="classIpopt_1_1DiagMatrix.html#a3a81f36e9edf8000486f544bfe7211ad">DiagMatrix</a>(</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;      <span class="keyword">const</span> <a class="code" href="classIpopt_1_1SymMatrixSpace.html">SymMatrixSpace</a>* owner_space</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;   );</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classIpopt_1_1DiagMatrix.html#a979755089ca27562137a6fca0aa73602">   32</a></span>&#160;   <a class="code" href="classIpopt_1_1DiagMatrix.html#a979755089ca27562137a6fca0aa73602">~DiagMatrix</a>();</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classIpopt_1_1DiagMatrix.html#aa6ae2fce70adb00cfb1caed904a1eb2d">   36</a></span>&#160;   <span class="keywordtype">void</span> <a class="code" href="classIpopt_1_1DiagMatrix.html#aa6ae2fce70adb00cfb1caed904a1eb2d">SetDiag</a>(</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;      <span class="keyword">const</span> <a class="code" href="classIpopt_1_1Vector.html">Vector</a>&amp; diag</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;   )</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;   {</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;      diag_ = &amp;diag;</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;   }</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classIpopt_1_1DiagMatrix.html#a4b3a10600c1221d430d797dc2e1701e0">   44</a></span>&#160;   <a class="code" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;const Vector&gt;</a> <a class="code" href="classIpopt_1_1DiagMatrix.html#a4b3a10600c1221d430d797dc2e1701e0">GetDiag</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="keyword">   </span>{</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;      <span class="keywordflow">return</span> diag_;</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;   }</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;   <span class="keyword">virtual</span> <span class="keywordtype">void</span> MultVectorImpl(</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;      <a class="code" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>        alpha,</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;      <span class="keyword">const</span> <a class="code" href="classIpopt_1_1Vector.html">Vector</a>&amp; x,</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;      <a class="code" href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Number</a>        beta,</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;      <a class="code" href="classIpopt_1_1Vector.html">Vector</a>&amp;       y</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;   ) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classIpopt_1_1DiagMatrix.html#aecf09dffdd763a158c4ff97f1f954bda">   59</a></span>&#160;   <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classIpopt_1_1DiagMatrix.html#aecf09dffdd763a158c4ff97f1f954bda">HasValidNumbersImpl</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160; </div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="classIpopt_1_1DiagMatrix.html#a563568cd907b028ded5221322ccb114c">   61</a></span>&#160;   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classIpopt_1_1DiagMatrix.html#a563568cd907b028ded5221322ccb114c">ComputeRowAMaxImpl</a>(</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;      <a class="code" href="classIpopt_1_1Vector.html">Vector</a>&amp; rows_norms,</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;      <span class="keywordtype">bool</span>    init</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;   ) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classIpopt_1_1DiagMatrix.html#a34161863e489b569de616b5597122d41">   66</a></span>&#160;   <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classIpopt_1_1DiagMatrix.html#a34161863e489b569de616b5597122d41">PrintImpl</a>(</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;      <span class="keyword">const</span> <a class="code" href="classIpopt_1_1Journalist.html">Journalist</a>&amp;  jnlst,</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;      <a class="code" href="namespaceIpopt.html#a9a3bf04074c3113604067ee277e690ea">EJournalLevel</a>      level,</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;      <a class="code" href="namespaceIpopt.html#a6cd36af5585112f521733f3e63fd8cb0">EJournalCategory</a>   category,</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;      <span class="keyword">const</span> std::string&amp; name,</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;      <a class="code" href="namespaceIpopt.html#a5a4a27f325033a0e5d85a4ebc4038b57">Index</a>              indent,</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;      <span class="keyword">const</span> std::string&amp; prefix</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;   ) <span class="keyword">const</span>;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160; </div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160; </div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="classIpopt_1_1DiagMatrix.html#a1baa1b2df1424738e330dd463c2320d5">   86</a></span>&#160;   <a class="code" href="classIpopt_1_1DiagMatrix.html#a1baa1b2df1424738e330dd463c2320d5">DiagMatrix</a>();</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160; </div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classIpopt_1_1DiagMatrix.html#af1baf6c6bef012e28dc6db4ce27de0a9">   89</a></span>&#160;   <a class="code" href="classIpopt_1_1DiagMatrix.html#af1baf6c6bef012e28dc6db4ce27de0a9">DiagMatrix</a>(</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;      <span class="keyword">const</span> <a class="code" href="classIpopt_1_1DiagMatrix.html">DiagMatrix</a>&amp;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;   );</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="classIpopt_1_1DiagMatrix.html#a853b3114c0a53f08b8448edec2ebc273">   94</a></span>&#160;   <span class="keywordtype">void</span> <a class="code" href="classIpopt_1_1DiagMatrix.html#a853b3114c0a53f08b8448edec2ebc273">operator=</a>(</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;      <span class="keyword">const</span> <a class="code" href="classIpopt_1_1DiagMatrix.html">DiagMatrix</a>&amp;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;   );</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classIpopt_1_1DiagMatrix.html#aa88e480e04edf8e498df6e94c243d976">  100</a></span>&#160;   <a class="code" href="classIpopt_1_1SmartPtr.html">SmartPtr&lt;const Vector&gt;</a> <a class="code" href="classIpopt_1_1DiagMatrix.html#aa88e480e04edf8e498df6e94c243d976">diag_</a>;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;};</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classIpopt_1_1DiagMatrixSpace.html">  104</a></span>&#160;<span class="keyword">class </span><a class="code" href="config__default_8h.html#a58bb5c104ee5ff44b7175fc992d89b0b">IPOPTLIB_EXPORT</a> <a class="code" href="classIpopt_1_1DiagMatrixSpace.html">DiagMatrixSpace</a>: <span class="keyword">public</span> <a class="code" href="classIpopt_1_1SymMatrixSpace.html">SymMatrixSpace</a></div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;{</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160; </div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="classIpopt_1_1DiagMatrixSpace.html#a243c891d18d660d90a97b8fc0cb9c12f">  110</a></span>&#160;   <a class="code" href="classIpopt_1_1DiagMatrixSpace.html#a243c891d18d660d90a97b8fc0cb9c12f">DiagMatrixSpace</a>(</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;      <a class="code" href="namespaceIpopt.html#a5a4a27f325033a0e5d85a4ebc4038b57">Index</a> dim</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;   )</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;      : <a class="code" href="classIpopt_1_1SymMatrixSpace.html">SymMatrixSpace</a>(dim)</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;   { }</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160; </div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="classIpopt_1_1DiagMatrixSpace.html#a821480e1600257f5cacc5ac6ba42cb30">  117</a></span>&#160;   <span class="keyword">virtual</span> <a class="code" href="classIpopt_1_1DiagMatrixSpace.html#a821480e1600257f5cacc5ac6ba42cb30">~DiagMatrixSpace</a>()</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;   { }</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160; </div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="classIpopt_1_1DiagMatrixSpace.html#a0e99eb0e848e98f50d5e34692131927f">  121</a></span>&#160;   <span class="keyword">virtual</span> <a class="code" href="classIpopt_1_1SymMatrix.html">SymMatrix</a>* <a class="code" href="classIpopt_1_1DiagMatrixSpace.html#a0e99eb0e848e98f50d5e34692131927f">MakeNewSymMatrix</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="keyword">   </span>{</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;      <span class="keywordflow">return</span> MakeNewDiagMatrix();</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;   }</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160; </div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classIpopt_1_1DiagMatrixSpace.html#a1cef6f031e3c85f46cdcbf4fb444c6b2">  127</a></span>&#160;   <a class="code" href="classIpopt_1_1DiagMatrix.html">DiagMatrix</a>* <a class="code" href="classIpopt_1_1DiagMatrixSpace.html#a1cef6f031e3c85f46cdcbf4fb444c6b2">MakeNewDiagMatrix</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="keyword">   </span>{</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;      <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classIpopt_1_1DiagMatrix.html">DiagMatrix</a>(<span class="keyword">this</span>);</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;   }</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160; </div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160; </div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="classIpopt_1_1DiagMatrixSpace.html#a6d0310178c507fb76a66e0ba126ef4b3">  142</a></span>&#160;   <a class="code" href="classIpopt_1_1DiagMatrixSpace.html#a6d0310178c507fb76a66e0ba126ef4b3">DiagMatrixSpace</a>();</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160; </div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="classIpopt_1_1DiagMatrixSpace.html#a4f874f61b7ac866c60ebca07936fd780">  145</a></span>&#160;   <a class="code" href="classIpopt_1_1DiagMatrixSpace.html#a4f874f61b7ac866c60ebca07936fd780">DiagMatrixSpace</a>(</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;      <span class="keyword">const</span> <a class="code" href="classIpopt_1_1DiagMatrixSpace.html">DiagMatrixSpace</a>&amp;</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;   );</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160; </div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="classIpopt_1_1DiagMatrixSpace.html#a6e72f02c0f67e4b5b08d54e4c677e708">  150</a></span>&#160;   <span class="keywordtype">void</span> <a class="code" href="classIpopt_1_1DiagMatrixSpace.html#a6e72f02c0f67e4b5b08d54e4c677e708">operator=</a>(</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;      <span class="keyword">const</span> <a class="code" href="classIpopt_1_1DiagMatrixSpace.html">DiagMatrixSpace</a>&amp;</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;   );</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160; </div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;};</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160; </div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;} <span class="comment">// namespace Ipopt</span></div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aIpUtils_8hpp_html"><div class="ttname"><a href="IpUtils_8hpp.html">IpUtils.hpp</a></div></div>
<div class="ttc" id="aclassIpopt_1_1DiagMatrixSpace_html"><div class="ttname"><a href="classIpopt_1_1DiagMatrixSpace.html">Ipopt::DiagMatrixSpace</a></div><div class="ttdoc">This is the matrix space for DiagMatrix.</div><div class="ttdef"><b>Definition:</b> <a href="IpDiagMatrix_8hpp_source.html#l00104">IpDiagMatrix.hpp:105</a></div></div>
<div class="ttc" id="aclassIpopt_1_1DiagMatrixSpace_html_a6d0310178c507fb76a66e0ba126ef4b3"><div class="ttname"><a href="classIpopt_1_1DiagMatrixSpace.html#a6d0310178c507fb76a66e0ba126ef4b3">Ipopt::DiagMatrixSpace::DiagMatrixSpace</a></div><div class="ttdeci">DiagMatrixSpace()</div><div class="ttdoc">Default Constructor.</div></div>
<div class="ttc" id="aclassIpopt_1_1DiagMatrix_html_aa6ae2fce70adb00cfb1caed904a1eb2d"><div class="ttname"><a href="classIpopt_1_1DiagMatrix.html#aa6ae2fce70adb00cfb1caed904a1eb2d">Ipopt::DiagMatrix::SetDiag</a></div><div class="ttdeci">void SetDiag(const Vector &amp;diag)</div><div class="ttdoc">Set the diagonal elements (as a Vector).</div><div class="ttdef"><b>Definition:</b> <a href="IpDiagMatrix_8hpp_source.html#l00036">IpDiagMatrix.hpp:36</a></div></div>
<div class="ttc" id="aclassIpopt_1_1DiagMatrix_html_aa88e480e04edf8e498df6e94c243d976"><div class="ttname"><a href="classIpopt_1_1DiagMatrix.html#aa88e480e04edf8e498df6e94c243d976">Ipopt::DiagMatrix::diag_</a></div><div class="ttdeci">SmartPtr&lt; const Vector &gt; diag_</div><div class="ttdoc">Vector storing the diagonal elements.</div><div class="ttdef"><b>Definition:</b> <a href="IpDiagMatrix_8hpp_source.html#l00100">IpDiagMatrix.hpp:100</a></div></div>
<div class="ttc" id="aclassIpopt_1_1DiagMatrixSpace_html_a821480e1600257f5cacc5ac6ba42cb30"><div class="ttname"><a href="classIpopt_1_1DiagMatrixSpace.html#a821480e1600257f5cacc5ac6ba42cb30">Ipopt::DiagMatrixSpace::~DiagMatrixSpace</a></div><div class="ttdeci">virtual ~DiagMatrixSpace()</div><div class="ttdoc">Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="IpDiagMatrix_8hpp_source.html#l00117">IpDiagMatrix.hpp:117</a></div></div>
<div class="ttc" id="anamespaceIpopt_html"><div class="ttname"><a href="namespaceIpopt.html">Ipopt</a></div><div class="ttdoc">This file contains a base class for all exceptions and a set of macros to help with exceptions.</div><div class="ttdef"><b>Definition:</b> <a href="IpInexactAlgBuilder_8hpp_source.html#l00013">IpInexactAlgBuilder.hpp:14</a></div></div>
<div class="ttc" id="aclassIpopt_1_1DiagMatrix_html_a1baa1b2df1424738e330dd463c2320d5"><div class="ttname"><a href="classIpopt_1_1DiagMatrix.html#a1baa1b2df1424738e330dd463c2320d5">Ipopt::DiagMatrix::DiagMatrix</a></div><div class="ttdeci">DiagMatrix()</div><div class="ttdoc">Default Constructor.</div></div>
<div class="ttc" id="aclassIpopt_1_1DiagMatrixSpace_html_a0e99eb0e848e98f50d5e34692131927f"><div class="ttname"><a href="classIpopt_1_1DiagMatrixSpace.html#a0e99eb0e848e98f50d5e34692131927f">Ipopt::DiagMatrixSpace::MakeNewSymMatrix</a></div><div class="ttdeci">virtual SymMatrix * MakeNewSymMatrix() const</div><div class="ttdoc">Pure virtual method for creating a new matrix of this specific type.</div><div class="ttdef"><b>Definition:</b> <a href="IpDiagMatrix_8hpp_source.html#l00121">IpDiagMatrix.hpp:121</a></div></div>
<div class="ttc" id="aclassIpopt_1_1DiagMatrix_html_a979755089ca27562137a6fca0aa73602"><div class="ttname"><a href="classIpopt_1_1DiagMatrix.html#a979755089ca27562137a6fca0aa73602">Ipopt::DiagMatrix::~DiagMatrix</a></div><div class="ttdeci">~DiagMatrix()</div><div class="ttdoc">Destructor.</div></div>
<div class="ttc" id="aclassIpopt_1_1DiagMatrix_html_aecf09dffdd763a158c4ff97f1f954bda"><div class="ttname"><a href="classIpopt_1_1DiagMatrix.html#aecf09dffdd763a158c4ff97f1f954bda">Ipopt::DiagMatrix::HasValidNumbersImpl</a></div><div class="ttdeci">virtual bool HasValidNumbersImpl() const</div><div class="ttdoc">Method for determining if all stored numbers are valid (i.e., no Inf or Nan).</div></div>
<div class="ttc" id="anamespaceIpopt_html_a9a3bf04074c3113604067ee277e690ea"><div class="ttname"><a href="namespaceIpopt.html#a9a3bf04074c3113604067ee277e690ea">Ipopt::EJournalLevel</a></div><div class="ttdeci">EJournalLevel</div><div class="ttdoc">Print Level Enum.</div><div class="ttdef"><b>Definition:</b> <a href="IpJournalist_8hpp_source.html#l00031">IpJournalist.hpp:32</a></div></div>
<div class="ttc" id="aconfig__default_8h_html_a58bb5c104ee5ff44b7175fc992d89b0b"><div class="ttname"><a href="config__default_8h.html#a58bb5c104ee5ff44b7175fc992d89b0b">IPOPTLIB_EXPORT</a></div><div class="ttdeci">#define IPOPTLIB_EXPORT</div><div class="ttdef"><b>Definition:</b> <a href="config__default_8h_source.html#l00011">config_default.h:10</a></div></div>
<div class="ttc" id="aclassIpopt_1_1DiagMatrix_html_a4b3a10600c1221d430d797dc2e1701e0"><div class="ttname"><a href="classIpopt_1_1DiagMatrix.html#a4b3a10600c1221d430d797dc2e1701e0">Ipopt::DiagMatrix::GetDiag</a></div><div class="ttdeci">SmartPtr&lt; const Vector &gt; GetDiag() const</div><div class="ttdoc">Get the diagonal elements.</div><div class="ttdef"><b>Definition:</b> <a href="IpDiagMatrix_8hpp_source.html#l00044">IpDiagMatrix.hpp:44</a></div></div>
<div class="ttc" id="aclassIpopt_1_1SmartPtr_html"><div class="ttname"><a href="classIpopt_1_1SmartPtr.html">Ipopt::SmartPtr</a></div><div class="ttdoc">Template class for Smart Pointers.</div><div class="ttdef"><b>Definition:</b> <a href="IpSmartPtr_8hpp_source.html#l00164">IpSmartPtr.hpp:165</a></div></div>
<div class="ttc" id="anamespaceIpopt_html_a6cd36af5585112f521733f3e63fd8cb0"><div class="ttname"><a href="namespaceIpopt.html#a6cd36af5585112f521733f3e63fd8cb0">Ipopt::EJournalCategory</a></div><div class="ttdeci">EJournalCategory</div><div class="ttdoc">Category Selection Enum.</div><div class="ttdef"><b>Definition:</b> <a href="IpJournalist_8hpp_source.html#l00051">IpJournalist.hpp:52</a></div></div>
<div class="ttc" id="aclassIpopt_1_1DiagMatrixSpace_html_a1cef6f031e3c85f46cdcbf4fb444c6b2"><div class="ttname"><a href="classIpopt_1_1DiagMatrixSpace.html#a1cef6f031e3c85f46cdcbf4fb444c6b2">Ipopt::DiagMatrixSpace::MakeNewDiagMatrix</a></div><div class="ttdeci">DiagMatrix * MakeNewDiagMatrix() const</div><div class="ttdoc">Method for creating a new matrix of this specific type.</div><div class="ttdef"><b>Definition:</b> <a href="IpDiagMatrix_8hpp_source.html#l00127">IpDiagMatrix.hpp:127</a></div></div>
<div class="ttc" id="anamespaceIpopt_html_a5a4a27f325033a0e5d85a4ebc4038b57"><div class="ttname"><a href="namespaceIpopt.html#a5a4a27f325033a0e5d85a4ebc4038b57">Ipopt::Index</a></div><div class="ttdeci">ipindex Index</div><div class="ttdoc">Type of all indices of vectors, matrices etc.</div><div class="ttdef"><b>Definition:</b> <a href="IpTypes_8hpp_source.html#l00020">IpTypes.hpp:20</a></div></div>
<div class="ttc" id="anamespaceIpopt_html_ab75ce5f2ad60aa86e4dff723998e653f"><div class="ttname"><a href="namespaceIpopt.html#ab75ce5f2ad60aa86e4dff723998e653f">Ipopt::Number</a></div><div class="ttdeci">ipnumber Number</div><div class="ttdoc">Type of all numbers.</div><div class="ttdef"><b>Definition:</b> <a href="IpTypes_8hpp_source.html#l00017">IpTypes.hpp:17</a></div></div>
<div class="ttc" id="aIpSymMatrix_8hpp_html"><div class="ttname"><a href="IpSymMatrix_8hpp.html">IpSymMatrix.hpp</a></div></div>
<div class="ttc" id="aclassIpopt_1_1DiagMatrixSpace_html_a6e72f02c0f67e4b5b08d54e4c677e708"><div class="ttname"><a href="classIpopt_1_1DiagMatrixSpace.html#a6e72f02c0f67e4b5b08d54e4c677e708">Ipopt::DiagMatrixSpace::operator=</a></div><div class="ttdeci">void operator=(const DiagMatrixSpace &amp;)</div><div class="ttdoc">Default Assignment Operator.</div></div>
<div class="ttc" id="aclassIpopt_1_1DiagMatrix_html"><div class="ttname"><a href="classIpopt_1_1DiagMatrix.html">Ipopt::DiagMatrix</a></div><div class="ttdoc">Class for diagonal matrices.</div><div class="ttdef"><b>Definition:</b> <a href="IpDiagMatrix_8hpp_source.html#l00020">IpDiagMatrix.hpp:21</a></div></div>
<div class="ttc" id="aclassIpopt_1_1Journalist_html"><div class="ttname"><a href="classIpopt_1_1Journalist.html">Ipopt::Journalist</a></div><div class="ttdoc">Class responsible for all message output.</div><div class="ttdef"><b>Definition:</b> <a href="IpJournalist_8hpp_source.html#l00116">IpJournalist.hpp:117</a></div></div>
<div class="ttc" id="aclassIpopt_1_1SymMatrix_html"><div class="ttname"><a href="classIpopt_1_1SymMatrix.html">Ipopt::SymMatrix</a></div><div class="ttdoc">This is the base class for all derived symmetric matrix types.</div><div class="ttdef"><b>Definition:</b> <a href="IpSymMatrix_8hpp_source.html#l00020">IpSymMatrix.hpp:21</a></div></div>
<div class="ttc" id="aclassIpopt_1_1DiagMatrixSpace_html_a4f874f61b7ac866c60ebca07936fd780"><div class="ttname"><a href="classIpopt_1_1DiagMatrixSpace.html#a4f874f61b7ac866c60ebca07936fd780">Ipopt::DiagMatrixSpace::DiagMatrixSpace</a></div><div class="ttdeci">DiagMatrixSpace(const DiagMatrixSpace &amp;)</div><div class="ttdoc">Copy Constructor.</div></div>
<div class="ttc" id="aclassIpopt_1_1DiagMatrix_html_a3a81f36e9edf8000486f544bfe7211ad"><div class="ttname"><a href="classIpopt_1_1DiagMatrix.html#a3a81f36e9edf8000486f544bfe7211ad">Ipopt::DiagMatrix::DiagMatrix</a></div><div class="ttdeci">DiagMatrix(const SymMatrixSpace *owner_space)</div><div class="ttdoc">Constructor, given the corresponding matrix space.</div></div>
<div class="ttc" id="aclassIpopt_1_1SymMatrixSpace_html"><div class="ttname"><a href="classIpopt_1_1SymMatrixSpace.html">Ipopt::SymMatrixSpace</a></div><div class="ttdoc">SymMatrixSpace base class, corresponding to the SymMatrix base class.</div><div class="ttdef"><b>Definition:</b> <a href="IpSymMatrix_8hpp_source.html#l00085">IpSymMatrix.hpp:86</a></div></div>
<div class="ttc" id="aclassIpopt_1_1DiagMatrix_html_af1baf6c6bef012e28dc6db4ce27de0a9"><div class="ttname"><a href="classIpopt_1_1DiagMatrix.html#af1baf6c6bef012e28dc6db4ce27de0a9">Ipopt::DiagMatrix::DiagMatrix</a></div><div class="ttdeci">DiagMatrix(const DiagMatrix &amp;)</div><div class="ttdoc">Copy Constructor.</div></div>
<div class="ttc" id="aclassIpopt_1_1DiagMatrix_html_a853b3114c0a53f08b8448edec2ebc273"><div class="ttname"><a href="classIpopt_1_1DiagMatrix.html#a853b3114c0a53f08b8448edec2ebc273">Ipopt::DiagMatrix::operator=</a></div><div class="ttdeci">void operator=(const DiagMatrix &amp;)</div><div class="ttdoc">Default Assignment Operator.</div></div>
<div class="ttc" id="aclassIpopt_1_1DiagMatrix_html_a563568cd907b028ded5221322ccb114c"><div class="ttname"><a href="classIpopt_1_1DiagMatrix.html#a563568cd907b028ded5221322ccb114c">Ipopt::DiagMatrix::ComputeRowAMaxImpl</a></div><div class="ttdeci">virtual void ComputeRowAMaxImpl(Vector &amp;rows_norms, bool init) const</div><div class="ttdoc">Compute the max-norm of the rows in the matrix.</div></div>
<div class="ttc" id="aclassIpopt_1_1Vector_html"><div class="ttname"><a href="classIpopt_1_1Vector.html">Ipopt::Vector</a></div><div class="ttdoc">Vector Base Class.</div><div class="ttdef"><b>Definition:</b> <a href="IpVector_8hpp_source.html#l00047">IpVector.hpp:48</a></div></div>
<div class="ttc" id="aclassIpopt_1_1DiagMatrix_html_a34161863e489b569de616b5597122d41"><div class="ttname"><a href="classIpopt_1_1DiagMatrix.html#a34161863e489b569de616b5597122d41">Ipopt::DiagMatrix::PrintImpl</a></div><div class="ttdeci">virtual void PrintImpl(const Journalist &amp;jnlst, EJournalLevel level, EJournalCategory category, const std::string &amp;name, Index indent, const std::string &amp;prefix) const</div><div class="ttdoc">Print detailed information about the matrix.</div></div>
<div class="ttc" id="aclassIpopt_1_1DiagMatrixSpace_html_a243c891d18d660d90a97b8fc0cb9c12f"><div class="ttname"><a href="classIpopt_1_1DiagMatrixSpace.html#a243c891d18d660d90a97b8fc0cb9c12f">Ipopt::DiagMatrixSpace::DiagMatrixSpace</a></div><div class="ttdeci">DiagMatrixSpace(Index dim)</div><div class="ttdoc">Constructor, given the dimension of the matrix.</div><div class="ttdef"><b>Definition:</b> <a href="IpDiagMatrix_8hpp_source.html#l00110">IpDiagMatrix.hpp:110</a></div></div>
</body>
</html>
